import request from '@/utils/request'

// 查询调价记录列表
export function listModify(query) {
  return request({
    url: '/recovery/modify/list',
    method: 'get',
    params: query
  })
}

// 查询调价记录详细
export function getModify(modifyId) {
  return request({
    url: '/recovery/modify/' + modifyId,
    method: 'get'
  })
}

// 新增调价记录
export function addModify(data) {
  return request({
    url: '/recovery/modify',
    method: 'post',
    data: data
  })
}

// 修改调价记录
export function updateModify(data) {
  return request({
    url: '/recovery/modify',
    method: 'put',
    data: data
  })
}

// 删除调价记录
export function delModify(modifyId) {
  return request({
    url: '/recovery/modify/' + modifyId,
    method: 'delete'
  })
}

// 导出调价记录
export function exportModify(query) {
  return request({
    url: '/recovery/modify/export',
    method: 'get',
    params: query
  })
}